#!/bin/bash
#echo "Which track to rip?"
#read track
#echo "track = #$track"
echo "What Series is this?"
read series
echo "Series: $series"
echo "Which disc # is this?"
read disknum
echo "This is disk #$disknum"

episode=1
for track in {1..4}
do
mplayer dvdnav://$track -dvd-device /dev/$1 -dumpstream -dumpfile `pwd`"/"$series"_D"$disknum"E"$episode.mpg
episode=$((episode+1))
done